package com.franklin.validation.core.annotations;

import com.franklin.validation.core.support.WebFluxFormDataSupport;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.Order;

import java.lang.annotation.*;

/**
 * Description : 开启WebFlux-form-data参数注入及校验
 * Create By: Franklin
 * Date : 2020/6/11 15:14
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(WebFluxFormDataSupport.class)
@Order
@Documented
public @interface EnableWebFluxFormDataValidation {
    int value() default Integer.MIN_VALUE;
}
